Gets a setting value.
Namespace:
DlhSoft.Web.Mvc.PertAssembly: DlhSoft.ProjectData.PertChart.Mvc.Extensions (in DlhSoft.ProjectData.PertChart.Mvc.Extensions.dll)
Syntax
| C# |
|---|
protected T GetValue<T>( string propertyName, T defaultValue ) |
| Visual Basic (Declaration) |
|---|
Protected Function GetValue(Of T) ( _ propertyName As String, _ defaultValue As T _ ) As T |
Parameters
- propertyName
- Type: System..::.String
- defaultValue
- Type: T
Type Parameters
- T